<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>智慧工地</title>
		<link rel="stylesheet" href="../../css/mui.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/icons-extra.css" />
		<link rel="stylesheet" type="text/css" href="../../css/master.css" />
		<link rel="stylesheet" type="text/css" href="../../css/find.css" />
		<link rel="stylesheet" href="../../libs/waitMe/waitMe.min.css">
		<!-- 遮罩css -->
	</head>

	<body>
		<header class="mui-bar mui-bar-nav mui-head bg-00BC8D">
			<!--<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>-->
			<h1 class="mui-title text-ffffff">系统管理</h1>
		</header>
		<div class="mui-content find">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell yhgl">
					<a class="mui-navigate-right" href=""><span class="mui-icon mui-icon-contact">&nbsp;&nbsp;用户管理</span></a>
				</li>
				<!--<li class="mui-table-view-cell qxgl">
					<a class="mui-navigate-right"><span class="mui-icon mui-icon-map">&nbsp;&nbsp;权限管理</span></a>
				</li>
				<li class="mui-table-view-cell yygl">
					<a class="mui-navigate-right"><span class="mui-icon mui-icon-compose">&nbsp;&nbsp;应用管理</span></a>
				</li>
				<li class="mui-table-view-cell zygl">
					<a class="mui-navigate-right"><span class="mui-icon mui-icon-personadd">&nbsp;&nbsp;资源管理</span></a>
				</li>
				<li class="mui-table-view-cell cspz">
					<a class="mui-navigate-right"><span class="mui-icon mui-icon-personadd">&nbsp;&nbsp;参数配置</span></a>
				</li>-->
			</ul>
		</div>
		<!--mui-content-->

		<!--foot-->
		<nav class="mui-bar mui-bar-tab mui-bottom">
			<a class="mui-tab-item index sy">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a class="mui-tab-item fx">
				<span class="mui-icon mui-icon-find"></span>
				<span class="mui-tab-label">人员管理</span>
			</a>
			<a class="mui-tab-item cl" href="#">
				<span class="mui-icon mui-icon-service"></span>
				<span class="mui-tab-label">车辆管理</span>
			</a>
			<a class="mui-tab-item mui-active xt">
				<span class="mui-icon mui-icon-set"></span>
				<span class="mui-tab-label">系统管理</span>
			</a>
		</nav>
	</body>

	<script src="../../js/jquery.min.js"></script>
	<!-- jquery -->
	<script src="../../js/mui.min.js"></script>
	<!-- mui -->
	<script src="../../libs/waitMe/waitMe.min.js"></script>
	<!-- 遮罩 -->
	<script src="../../js/setting.js"></script>
	<!-- 配置文件 -->
	<script src="../../js/common.js"></script>
	<!-- 公共方法 -->

	<script>
		var h = mui(document).common();

		//首页返回键处理
		//处理逻辑：1秒内，连续两次按返回键，则退出应用；
		var showMenu = false;
		var first = null;
		mui.back = function() {
			if(showMenu) {
				closeMenu();
			} else {
				//首次按键，提示‘再按一次退出应用’
				if(!first) {
					first = new Date().getTime();
					mui.toast('再按一次退出应用');
					setTimeout(function() {
						first = null;
					}, 2000);
				} else {
					if(new Date().getTime() - first < 1000) {
						plus.runtime.quit();
					}
				}
			}
		};
		
		//点击用户管理
		mui(".mui-table-view").on('tap', '.yhgl', function(e) {
			var htype = {
				obj: this,
				url: 'userControl/userControl.html',
				id: 'userControl'
			}
			h.eachClick(htype);
		});
		/*
		//点击权限管理
		mui(".mui-table-view").on('tap', '.qxgl', function(e) {
			var htype = {
				obj: this,
				url: 'jurisdiction/jurisdiction.html',
				id: 'jurisdiction'
			}
			h.eachClick(htype);
		});
		
		//点击应用管理
		mui(".mui-table-view").on('tap', '.yygl', function(e) {
			var htype = {
				obj: this,
				url: 'application/application.html',
				id: 'application'
			}
			h.eachClick(htype);
		});
		
		//点击资源管理
		mui(".mui-table-view").on('tap', '.zygl', function(e) {
			var htype = {
				obj: this,
				url: 'resource/resource.html',
				id: 'resource'
			}
			h.eachClick(htype);
		});
		
		//点击参数配置
		mui(".mui-table-view").on('tap', '.cspz', function(e) {
			var htype = {
				obj: this,
				url: 'parameter/parameter.html',
				id: 'parameter'
			}
			h.eachClick(htype);
		});
		*/
		//点击底部人员管理
		mui(".mui-bottom").on('tap', '.fx', function(e) {
			var htype = {
				obj: this,
				url: '../personnel/personnelList.html',
				id: 'personnelList'
			}
			h.eachClick(htype);
		});

		//点击底部首页
		mui(".mui-bottom").on('tap', '.sy', function(e) {
			var htype = {
				obj: this,
				url: '../index.html',
				id: 'index'
			}
			h.eachClick(htype);
		});

		//点击底部车辆管理
		mui(".mui-bottom").on('tap', '.cl', function(e) {
			var htype = {
				obj: this,
				url: '../car/car.html',
				id: 'car'
			}
			h.eachClick(htype);
		});
	</script>

</html>